package com.wwl.controller;

import com.wwl.entity.Uploadfile;
import com.wwl.service.UploadfileService;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping("/csh")
public class CshUserInforMation{
	
  @Resource
  UploadfileService uploadfileService;
  
  @RequestMapping(value="/cshuserinformation", method=RequestMethod.GET)
  public String userinformation(ModelMap modelMap){
    List<Uploadfile> list = this.uploadfileService.chsuserinformation();
    modelMap.addAttribute("list", list);
    return "csh/cshuserinformation";
  }
}






